Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(retrofit2): replace retrofit client with retrofit2 client #6340

Merged
merged 9 commits into from
Feb 3, 2025

Conversation

kirangodishala
Copy link
Contributor

  • This PR makes use of retrofit 2.x client in place of retrofit 1.9 and make required changes accordingly.

  • All the retrofit1 dependencies and references are removed.

  • Retrofit2 boilerplate code was already implemented in kork's kork-retrofit module and this PR makes use of it.

getDigestContent(_,_,_,_) >> contentDigestResponse
// TypedInput configDigestContentInput = new TypedByteArray("application/json", configDigestContentJson.getBytes())
Response contentDigestResponse = Response.success(200, ResponseBody.create(MediaType.parse("application/json"), configDigestContentJson))
// Response contentDigestResponse = new Response("/v2/{repository}/blobs/{digest}",200, "nothing", Collections.EMPTY_LIST, configDigestContentInput)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some more commented-out code in this file

clouddriver-consul/clouddriver-consul.gradle Show resolved Hide resolved
@dbyron-sf dbyron-sf added the ready to merge Approved and ready for a merge label Feb 3, 2025
@mergify mergify bot added the auto merged Merged automatically by a bot label Feb 3, 2025
@mergify mergify bot merged commit 67a05a3 into spinnaker:master Feb 3, 2025
24 checks passed
kirangodishala added a commit to kirangodishala/spinnaker.io that referenced this pull request Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Approved and ready for a merge target-release/1.37
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants